#include "messageResInfo.h"

MessageResInfo::MessageResInfo(const IPaddress& addr, const int& version, const uint32_t& commandId) : addr(addr),version(version),commandId(commandId)
{

}

const IPaddress& MessageResInfo::getAddr()
{
	return addr;
}

const int& MessageResInfo::getVersion()
{
	return version;
}

const uint32_t& MessageResInfo::getCommandId()
{
	return commandId;
}
